package com.huiyun.project.im.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * IM租户
 * </p>
 *
 * @author bogon
 * @since 2020-07-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ImTenant对象", description = "IM租户")
public class ImTenant implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty(value = "租户类别 1.通知类型(平台通知) 2.平台类型(平台客服)  3.临时 4.其他")
    private Integer tenantCate;

    @ApiModelProperty(value = "租户类型 1.企业  0.个人")
    private Integer tenantType;

    @ApiModelProperty(value = "客服统一头像")
    private String imAvatar;

    @ApiModelProperty(value = "标签")
    private String tags;

    @ApiModelProperty(value = "所属应用组")
    private String appGroupId;

    @ApiModelProperty(value = "租户名称")
    private String name;
    @ApiModelProperty(value = "业务id")
    private String bid;

    @ApiModelProperty(value = "租户logo")
    private String logo;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    private String modifyBy;

    @ApiModelProperty(value = "修改时间")
    private Date modifyTime;


}
